package yqt.com.cnki.dao;

import yqt.com.cnki.bo.CollectionBo;
import yqt.com.cnki.bo.DownBo;
import yqt.com.cnki.bo.ViewBo;

import java.util.List;

public interface PersonCenterDao {

    List<CollectionBo> getCollectionList(CollectionBo collectionBo);

    Long getCollectionCount(CollectionBo collectionBo);

    Boolean insertCollection(CollectionBo collectionBo);

    Boolean deleteCollection(CollectionBo collectionBo);

    List<DownBo> getDownList(DownBo downBo);

    Long getDownListCount(DownBo downBo);

    Boolean insertDown(DownBo downBo);

    Boolean deleteDown(DownBo downBo);

    List<ViewBo> getViewList(ViewBo viewBo);

    Long getViewListCount(ViewBo viewBo);

    Boolean insertView(ViewBo viewBo);

    Boolean deleteView(ViewBo viewBo);

    Boolean deleteCollectionbyId(CollectionBo collectionBo);
}
